#!/bin/bash

# 停止nginx服务
# sudo nginx -s quit -c /home/cauchy/skynet/project/chat/openresty/conf/nginx.conf
# 第一次执行这行
# sudo nginx -c /home/cauchy/skynet/project/chat/openresty/conf/nginx.conf
# 有需求在nginx.conf修改，那么就每次reload即可，执行下面这行
sudo nginx -s reload -c /home/cauchy/skynet/project/chat/openresty/conf/nginx.conf